<?php
$page='logins';
 require_once('header.php'); ?>

<div id="content"><div>
        <div class="sub">
        <?php
        if (isset($_GET['status'])) {
            extract($_POST);
            $status = $_GET['status'];
            if ($status == "wrong") {
                ?>
                <p class="error">Wrong Username or Password</p>
                <?php
            } else if ($status == "saved") {
//                        echo 'registration successful';
                ?>
                <h2 class="notification">Registration successful.. login here!</h2>
            <?php }
        } ?> <a href="signup.php" class="btn">Create an account for free</a>
        <form action="login.php" method="post">
            <table>
                <tr><td>Enter  Username:</td><td><input type="text" name="username" id="3"/></td></tr>
                <tr><td>Enter password:</td><td><input type="password" name="password" id="4"/></td></tr>
                <tr><td></td><td><input type="submit" name="Login" value="Login" /></td></tr>
            </table>
        </form>

        </div>
        <div class="main">
        </div>
   

<?php require_once('footer.php'); ?>